import http from "@/api/fetch";
export function getProductList(query) {
  return http.post('/product/sku/getList.action',query);
}
export function searchProductList(query) {
  return http.post('/product/sku/search.action',query);
}
//仓库相关的
export function getStorageProductList(query) {
  return http.post('/storageproduct/getList.action',query);
}
export function getStorageProductStock(query) {
  return http.post('/storageproduct/getStock.action',query);
}

export function searchStorageProductChangeList(query) {
  return http.post('/storageproduct/change/getList.action',query);
}
export function getStorageProductChangeList(query) {
  return http.post('/storageproduct/change/getList.action',query);
}
export function searchStorageProductList(query) {
  return http.post('/storageproduct/search.action',query);
}
export function getWmsList(query) {
  return http.post('/warehouse/getAll.action',query);
}
export function getStorageBillDetail(query) {
  return http.post('/storagebill/getDetail.action',query);
}
export function getStorageBillList(query) {
  return http.post('/storagebill/getList.action',query);
}
export function getStorageBillItemList(query) {
  return http.post('/storagebill/item/getList.action',query);
}
export function doStorageBillItemSign(query) {
 return http.post("/storagebill/item/doSignItem.action",query);
}
export function doStorageBillRemark(query){
  return http.post('/storagebill/setRemark.action',query);
}
export function doStorageBillCreate(query){
  return http.post('/storagebill/doSave.action',query);
}
export function doStorageBillUpdate(query){
  return http.post('/storagebill/doUpdate.action',query);
}
